package com.richapp.launcher.common;

import com.jack.util.date.DateUtil;

/**
 * Created by yif on 2016/10/23.
 */
public class JsonResult<T> {
    private String flag = "false";
    private String exp = "exp";
    private T data;
    private String session = "";
    private long serverTime;

    public JsonResult() {
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getExp() {
        return exp;
    }

    public void setExp(String exp) {
        this.exp = exp;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public String getSession() {
        return session;
    }

    public void setSession(String session) {
        this.session = session;
    }

    public long getServerTime() {
        serverTime = DateUtil.getDateLong();
        return serverTime;
    }
}
